package wxy.ChainOfResponsibility;

public abstract class Approver {
    protected Approver successor = null;
    protected String name;
    public Approver( String name) {
        this.name = name;
    }
    public void setSuccessor(Approver approver){
        this.successor = approver;
    }
    public abstract void processRequest(PurchaseRequest request);
}